package com.android.app.constant;

/**
 * author:  TenFace
 * date:    2017/9/25
 * description: 网络地址常量类
 */

public interface UrlConstants {

    String HOST_HTTPS = "http://test-api.dev.bgaex.com:8080/";
    String HOST_SSO = "sso/";
    String HOST_TRADE = "spot/";
    String HOST_MARKET = "quote-marketdata/";

    String HOST_SITE_HTTPS = HOST_HTTPS;

    //*************************SSO-Start*************************//
    String USER_SEND = HOST_SSO + "user/send";
    String USER_CODE_VERIFY = HOST_SSO + "user/code_verify";
    String USER_REGISTER = HOST_SSO + "user/register";
    String USER_LOGIN = HOST_SSO + "user/login";
    String USER_VERIFY = HOST_SSO + "user/user_verify";
    String USER_RESET = HOST_SSO + "user/reset";
    String USER_QUERY_INFO = HOST_SSO + "user/get_user_info";
    String USER_SET_TRADE_PWD_VERIFY = HOST_SSO + "user/set_trade_password_verify";
    String USER_SET_TRADE_PWD = HOST_SSO + "user/set_trade_password";
    String USER_TRADE_PWD_VERIFY = HOST_SSO + "user/trade_password_verify";
    String USER_VALID_TRADE_PWD_TOKEN = HOST_SSO + "user/valid_trade_password_token";


    //*************************SSO-End*************************//

    //*************************TRADE-Start*************************//
    String TRADE_SYMBOL_LIST = HOST_TRADE + "util/symbol.list";//GET
    String TRADE_CREATE_ACCOUNT_TOKEN = HOST_TRADE + "auth/token/account.create?ssoToken=";//POST
    String TRADE_CREATE_TOKEN = HOST_TRADE + "auth/token.create?token=";//POST
    String TRADE_CREATE_SESSION = HOST_TRADE + "auth/session.create?token=";//POST
    String TRADE_QUERY_ACCOUNT_INFO = HOST_TRADE + "account/info.query?token=";//GET
    String TRADE_CREATE_TICKET = HOST_TRADE + "order/ticket.create?session=";//POST
    String TRADE_CREATE_NEW_ORDER = HOST_TRADE + "order/newOrder.create?session=";//POST
    String TRADE_CANCEL_ORDER = HOST_TRADE + "order/openOrder.cancel?session=";//POST
    String TRADE_LIST_COMPLETED_ORDER = HOST_TRADE + "order/completed.list?token=";//GET
    String TRADE_LIST_OPEN_ORDER = HOST_TRADE + "order/open.list?token=";//POST


    //*************************TRADE-End*************************//

    //*************************MARKET-Start*************************//

    String MARKET_REALTIME_SNAP = HOST_MARKET + "quote/realtime.last";//GET
    String MARKET_SUMMARIZED = HOST_MARKET + "quote/summarized.timeRange";//GET


    //*************************TRADE-End*************************//



}
